package com.jzo2o.foundations.service;

import com.jzo2o.foundations.model.dto.response.ServeAggregationSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeCategoryResDTO;
import org.springframework.stereotype.Service;

import java.util.List;

public interface HomeService {
    //根据区域id获取获取服务图标信息
    List<ServeCategoryResDTO> queryServeIconCategoryByRegionIdCache(Long regionId);
    //根据区域id获取全部服务图标信息
    List<ServeCategoryResDTO> queryServeIconCategoryByRegionIdAll(Long regionId);

    //根据id查询服务
    ServeAggregationSimpleResDTO serveById(Long id);

    //首页热门服务列表
    List<ServeAggregationSimpleResDTO> hotServeList(Long regionId);
}
